package com.nian.app.api;

import com.nian.app.model.AppSwiperImages;
import com.nian.common.model.Const;
import com.nian.common.model.ServerResponse;
import com.nian.common.model.SysMessage;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 用途：
 * 开发：zhangmj
 * 日期：2020/4/2 0002 11:02
 */
@Component
public class AppSwiperImagesAPIHystrix implements AppSwiperImagesAPI {

    @Override
    public ServerResponse<List<AppSwiperImages>> swiperList(Integer terminalType, Integer pageType) {
        return ServerResponse.createByErrorCodeMessage(Const.CODE_500, SysMessage.FAIL_MESSAGE);
    }
}
